package {{ base_pkg }}.infrastructure.outbound.persistence.{{ entity.domain }}.converter;

import {{ base_pkg }}.infrastructure.outbound.persistence.{{ entity.domain }}.po.{{ entity.name }}PO;
import {{ base_pkg }}.domain.{{ entity.domain }}.model.aggragate.{{ entity.name }};

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface {{ entity.name }}POConverter {
    {{ entity.name }}POConverter INSTANCE = Mappers.getMapper({{ entity.name }}POConverter.class);

    {{ entity.name }}PO toPO({{ entity.name }} entity);
    {{ entity.name }} fromPO({{ entity.name }}PO po);
} 